package com.reservation.dto.user.booking;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@ApiModel("确认预约请求DTO")
public class ConfirmReservationDTO {

    @NotBlank(message = "日期不能为空")
    @ApiModelProperty(value = "预约日期", required = true, example = "2025-06-15")
    private String date;

    @NotBlank(message = "开始时间不能为空")
    @ApiModelProperty(value = "开始时间", required = true, example = "09-00")
    private String startTime;

    @NotBlank(message = "结束时间不能为空")
    @ApiModelProperty(value = "结束时间", required = true, example = "12-00")
    private String endTime;

    @NotNull(message = "会议室ID不能为空")
    @ApiModelProperty(value = "会议室id", required = true, example = "1")
    private Long id;
}